#!/usr/bin/env node

const Koa = require('koa'),
      logger = require('./middleware/logger.js');

const app = new Koa();

app.use(logger);

app.use((ctx,next)=>{     //M-hello
  ctx.body = 'hello world';
});



app.listen(8080);
